package com.rf.richfitwheel.outbill.feignclient;

import com.rf.richfitwheel.admin.sys.model.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 李虹
 * @date 2024/6/20 - 14:21
 */
@FeignClient(name="richfitwheel-admin-server/sys/user")
public interface FSysUserService {
    @GetMapping("/getUserOnly/{userId}")
    public User getUserOnly(@PathVariable("userId") String userId);
}
